{% set clazz = "building" %}
{% set title = "选择社区" %}
{% extends './modules/common/templates/main.html' %}
{% block style %}
  <link rel="stylesheet" type="text/css" href="{{ '/static/css/home.css'|version }}" />
{% endblock %}
{% block content %}
  {% if !nested %}
    <header class="bar bar-header">
      {{ macro.back() }}
      <h1 class="title">{{ title }}</h1>
    </header>
  {% endif %}
  <section>
    <div class="list compact overlap">
      {% for item in list %}
        <a class="item" href="/bind/groups?projectId={{ item.id }}">
          <span class="text">{{ item.name }}</span>
          <i class="icon text-gray">&#xe61a;</i>
        </a>
      {% endfor %}
    </div>
  </section>
{% endblock %}
{% block script%}{% endblock %}